package com.tanhua.dubbo.api;

import com.tanhua.model.mongo.UserLike;

import java.util.List;

public interface UserLikeApi {

    //保存或者更新
    Boolean saveOrUpdate(Long userId, Long likeUserId, boolean isLike);

    List<UserLike> likeList(Long userId,Boolean isLike);

    UserLike toUserLike(Long userId, Long likeUserId,Boolean isLike);

    void deleteLike(Long userId, Long uid);
}
